package com.ruoyi.client.pojo.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
@ApiModel(value = "批量删除表单", description = "批量删除购物车项的请求参数")
public class BatchIdsForm {

    @NotEmpty(message = "批量删除ID数组不能为空")
    @ApiModelProperty(value = "购物车记录ID数组", required = true, example = "[1,2,3]")
    private List<Long> ids;
}